<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
    <TestRuntime>true</TestRuntime>
    <IncludeRemoteExecutor>true</IncludeRemoteExecutor>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>

    <!-- these tests depend on the pdb files -->
    <DebuggerSupport Condition="'$(DebuggerSupport)' == '' and '$(TargetOS)' == 'browser'">true</DebuggerSupport>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="StackFrameExtensionsTests.cs" />
    <Compile Include="StackFrameTests.cs" />
    <Compile Include="StackTraceSymbolsTests.cs" />
    <Compile Include="StackTraceTests.cs" />
    <Compile Include="SymDocumentTypeTests.cs" />
    <Compile Include="SymLanguageTypeTests.cs" />
    <Compile Include="SymLanguageVendorTests.cs" />
    <Compile Include="SymbolTokenTests.cs" />
  </ItemGroup>
  <ItemGroup Condition="'$(TargetOS)' == 'browser'">
    <WasmFilesToIncludeFromPublishDir Include="$(AssemblyName).dll" />
    <WasmFilesToIncludeFromPublishDir Include="$(AssemblyName).pdb" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="ExceptionTestAssembly\ExceptionTestAssembly.csproj" />
  </ItemGroup>
</Project>
